

TEMPLATE = lib
TARGET = struct_tiff
DEPENDPATH += .
INCLUDEPATH += .
win32-g++{ 
CONFIG   += qt warn_off release staticlib
} else {
CONFIG   += qt warn_off release staticlib
}

LANGUAGE	= C

DESTDIR	= ../lib


win32-g++{ 
    MOC_DIR = build_mingw/.moc
    RCC_DIR = build_mingw/.rcc
    OBJECTS_DIR = build_mingw/.obj
}

win32-msvc*{
    MOC_DIR = build_vs/.moc
    RCC_DIR = build_vs/.rcc
    OBJECTS_DIR = build_vs/.obj
}




EXTRALIBSSRC = $$(QTDIR)/src/3rdparty
INCLUDEPATH += .
    
    
    
	SOURCES  += \
	    tif_aux.c \
	    tif_close.c \
	    tif_codec.c \
	    tif_color.c \
	    tif_compress.c \
	    tif_dir.c \
	    tif_dirinfo.c \
	    tif_dirread.c \
	    tif_dirwrite.c \
	    tif_dumpmode.c \
	    tif_error.c \
	    tif_extension.c \
	    tif_fax3.c \
	    tif_fax3sm.c \
	    tif_flush.c \
	    tif_getimage.c \
	    tif_luv.c \
	    tif_lzw.c \
	    tif_next.c \
	    tif_open.c \
	    tif_packbits.c \
	    tif_pixarlog.c \
	    tif_predict.c \
	    tif_print.c \
	    tif_read.c \
	    tif_strip.c \
	    tif_swab.c \
	    tif_thunder.c \
	    tif_tile.c \
	    tif_version.c \
	    tif_warning.c \
	    tif_write.c \
	    tif_zip.c
	    win32 {
	       SOURCES += tif_win32.c
	    }
            unix: {
	       SOURCES += tif_unix.c
            }
            wince*: {
               SOURCES += $$(QTDIR)/src/corelib/kernel/qfunctions_wince.cpp
            }


contains(QT_CONFIG, system-zlib) {
        LIBS += -lz
}
!contains(QT_CONFIG, system-zlib) {
        INCLUDEPATH +=  $$EXTRALIBSSRC/zlib
}


QMAKE_TARGET_COMPANY = CrossKern Suisse
QMAKE_TARGET_PRODUCT = Qt4
QMAKE_TARGET_DESCRIPTION = C++ tiff special plugin.
QMAKE_TARGET_COPYRIGHT = Copyright Owner customer






